PHP $argv echo

30

for ($i=0; $i < $argc; $i++) {
    echo $argv[$i] . "\n";
}
<?php 

echo "There are $argc arguments\n";

for ($i=0; $i < $argc; $i++) {
    echo $argv[$i] . "\n";
}

Comments

Submit
0 Comments